using System;
using System.Collections.Generic;
using System.Text;

namespace Decav.Gatsb.Web.Pages
{
    /// <summary>
    /// Interfaces an adapter that gets the required information for the Posts.aspx page.
    /// </summary>
    public interface IPostsPageAdapter
    {
        /// <summary>
        /// Executes the posts page adapter to get posts to display as a result.
        /// </summary>
        /// <param name="pageSize">The size of the page to get, in number of posts.</param>
        /// <returns>A result object encapsulating various properties to be set on the
        /// page.</returns>
        PostsPageAdapterResult Execute(int pageSize);
    }
}
